
import http from "@/utils/vmeitime-http/index.js";

export const getAddressList = (data) => http.get("/applet_user/address/list", data);
export const addAddress = (data) => http.post("/applet_user/address/add", data);
export const editAddress = (data) => http.post("/applet_user/address/edit", data);
export const delAddress = (data) => http.post("/applet_user/address/del", data);
export const getAddressDetail = (data) => http.get("/applet_user/address/info", data);
export const setDefaultAddressApi = (data) => http.post("/applet_user/address/setDefault", data);
// 获取默认地址
export const getDefaultAddressApi = (data) => http.post("/applet_user/address/getDefault", data);